<include file="__PUBLIC__/header"/>
<div class="page-container">
    <!--菜单-->
    <div class="cl pd-5 bg-1 bk-gray mt-10 mb-10">
        <span class="l">
            <a href="javascript:;" onclick="qz_layer_open('新增字段','{|U:'add',array('model_id'=>$model_id)}')" class="btn btn-primary radius"><i class="Hui-iconfont">&#xe600;</i> 新增</a>
        </span>
        <span class="r" style="line-height:1.6em;margin-top:3px">属性列表(不含继承属性)</span>
    </div>
    <!--列表-->
    <table class="table table-border table-bordered table-bg mt-10 table-sort" id="table">
        <thead>
        <tr class="text-c">
            <th><input type="checkbox" name="" value=""></th>
            <th>编号</th>
            <th>字段</th>
            <th>名称</th>
            <th>数据类型</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <list from="$data" name="$qz">
            <tr class="text-c">
                <td><input type="checkbox" name="id[]" value="{$qz.id}" /></td>
                <td>{$qz.id} </td>
                <td>{$qz.name}</td>
                <td>{$qz.title}</td>
                <td><span>{$qz['type']}</span></td>
                <td>
                    <a title="编辑" href="javascript:;" onclick="qz_layer_open('编辑字段','{|U:'edit',array('id'=>$qz['id'])}')" class="" style="text-decoration:none"><i class="Hui-iconfont">&#xe6df;</i></a>
                    <a title="删除" href="javascript:;" onclick="del_forever(this,'{$qz['id']}','{|U:'del'}')" class="" style="text-decoration:none"><i class="Hui-iconfont">&#xe6e2;</i></a>
                </td>
            </tr>
        </list>
    </table>
    <div class="qz-page">
        {$page}
    </div>
    </table>
</div>
<include file="__PUBLIC__/footer"/>
</body>
</html>